﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace VietThinks.Contract
{
    public class RuleException : Exception
    {
        public RuleException(IEnumerable<string> ruleViolations)
        {
            this.BrokenRules = ruleViolations;
        }

        public IEnumerable<string> BrokenRules { get; protected set; }
    }
}
